package com.wn.mapper;

import com.wn.ov.RoomOv;
import com.wn.pojo.Room;

import java.util.List;

public interface RoomMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Room record);

    int insertSelective(Room record);

    Room selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);

    //获取床位列表
    List<RoomOv> getRoomList(RoomOv roomOv);

    //通过病房id查询科室id
    Integer getDepIdByBedId(Integer bedId);
}